package com.xbongbong.pro.dingtalkPay.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 应用内购商品核销
 * @auther: youli.chen
 * @date: $ $
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class OrderConsumeDTO extends BaseDTO {

    /**
     * 内购订单号
     */
    @NotNull(message = "内购订单号不能为空")
    private Long orderId;

    /**
     * 订购商品核销数量
     */
    @NotNull(message = "订购商品核销数量不能为空")
    private Long quantity;
}
